﻿namespace YKXiangQi.Enums
{
    public class EnumMapper<T>
    {
        public string Description { get; private set; }
        public T Value { get; private set; }

        public EnumMapper(T enumValue, string description)
        {
            Value = enumValue;
            Description = description;
        }
    }
}
